package com.example.annotation.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.annotation.domain.User;
import com.example.annotation.mapper.UserMapper;
import com.example.annotation.service.UserService;

/**
 * @author fz
 * @creation time 2021/5/20
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User getUser() {
        return userMapper.getUser();
    }
}
